package com.gzhryc.shared_device.oem.micro.api.dto.xcx.v1;

import com.gzhryc.common.api.SecurityRequest;
import com.gzhryc.shared_device.oem.micro.api.MicroConstants;

import java.io.Serializable;

public class NearbyPlaceListRequest extends SecurityRequest<NearbyPlaceListRequest.Body> {

    private static final long serialVersionUID = 1L;

    public NearbyPlaceListRequest() {
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private Double longitude;
        private Double latitude;
        private String businessType;
        private Integer limit = MicroConstants.PAGE_LIMIT;

        public Double getLongitude() {
            return longitude;
        }

        public void setLongitude(Double longitude) {
            this.longitude = longitude;
        }

        public Double getLatitude() {
            return latitude;
        }

        public void setLatitude(Double latitude) {
            this.latitude = latitude;
        }

        public String getBusinessType() {
            return businessType;
        }

        public void setBusinessType(String businessType) {
            this.businessType = businessType;
        }

        public Integer getLimit() {
            return limit;
        }

        public void setLimit(Integer limit) {
            this.limit = limit;
        }
    }
}
